package com.et.drive

import com.et.logger.ELog
import com.et.logger.TAGS
import com.et.machine.convert.Inlets
import com.et.protocol.core.ETInlets
import com.et.protocol.core.IGuide
import com.et.protocol.core.IObserver
import java.io.File
import java.util.concurrent.Executors

object TaskCenter : Inlets {

    private val thread = Executors.newSingleThreadExecutor()
    private val guides = HashMap<String, IGuide>()

    private fun start(p: String = "ttymxc1") {
        thread.execute {

        }
    }

    fun getGuide(port: String): IGuide? {
        return guides[port]
    }

    override fun init() {
        start()
    }

    override fun exit() {
        // TODO
    }

}
